package art.client.services;

import java.util.List;

import art.shared.entities.ArtShared;
import art.shared.entities.GenreShared;
import art.shared.entities.RatingShared;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("art")
public interface ArtService extends RemoteService {

	public List<ArtShared> getArts();

	public boolean addArt(ArtShared art);

	public boolean deleteArt(Long id);

	public List<ArtShared> getArtsOfUser(Long userId);

	public boolean addRatingToArt(RatingShared rating);

	public List<GenreShared> getGenres();

	List<RatingShared> getRatingsOfArt(long artId);

	List<RatingShared> getAllRatings();

}
